-- card: 4442 from stack: in.0b2 -- bmap block id: 2377 -- flags: 4000 -- background id: 3155 -- name: -- part 1 (button) -- low flags: 80 -- high flags: A004 -- rect: left=280 top=181 right=203 bottom=380 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: State ----- HyperTalk script ----- on mouseDown global lastState if card field "States" is not empty then get PopUpMenu( card field "States", lastState ) if it is not empty then put it into lastState answer "“" & line it of card field states & "” was selected." else answer "No state was selected." end if end if end mouseDown -- part 2 (field) -- low flags: 81 -- high flags: 2007 -- rect: left=145 top=144 right=309 bottom=255 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 9 -- part name: States -- part 4 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=22 top=318 right=330 bottom=34 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: You Found them ----- HyperTalk script ----- on mouseUp get visible of card field "States" if it is true then hide card field "States" hide card button "State" else show card field "States" show card button "State" answer "Just wanted to show how fast a big menu is created." end if end mouseUp -- part contents for background part 10 ----- text ----- Menu Item Attributes Items of a menu can have one of several attributes that effect its display. The following help cards show examples of disabled, styled, and icon menu items. -- part contents for card part 2 ----- text ----- Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming